<!DOCTYPE html>
<html>
<head>
<title>{$user_login} - 个人中心</title>
<meta name="keywords" content=""/>
<meta name="description" content="">
<include file="public@head"/>
<style>
.control-label {
	font-weight: bold;
	float: left;
	width: 70px;
}
</style>
</head>
<body class="body-white" id="top">
<include file="public@nav" />
	<div class="container tc-main">
		<div class="row">
			<div class="col-md-3">
				<include file="public@usernav" />
			</div>
			<div class="col-md-9">
				<div class="tabs">
					<!--<ul class="nav nav-tabs">-->
						<!--<li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-list-alt"></i>个人中心</a></li>-->
					<!--</ul>-->
					<div class="personal-nav"><h2>个人中心</h2></div>

					<div class="tab-content">
						<div class="tab-pane active" id="one">
							<br>
							<div class="row">
								<div class="col-md-3">
								<a href="{:url('profile/avatar')}">
									<if condition="empty($avatar)"> 
										<img src="__TMPL__/Public/assets/images/headicon_128.png" class="headicon" width="128" />
									<else />
										<img src="__ROOT__/upload/{$avatar}" class="headicon" width="128"/>
									</if>
								</a>
							</div>
							<div class="col-md-9">
								<div class="form-group">
									<label class="control-label">账户余额</label>
									<div>¥{$balance|default=0.00}</div>
								</div>
								<div class="form-group">
									<label class="control-label">用户名</label>
									<div>{$user_login|default='未填写'}</div>
								</div>
								<div class="form-group">
									<label class="control-label" for="input-user_nicename">真实姓名</label>
									<div>{$realname|default='未填写'}</div>
								</div>
								<div class="form-group">
									<label class="control-label" for="input-sex">性别</label>
									<div>
										<php> $sexs=array("0"=>"保密","1"=>"男","2"=>"女");echo $sexs[$sex]; </php>
									</div>
								</div>
								<div class="form-group">
									<label class="control-label">地址</label>
									<div>{$address|default='未填写'}</div>
								</div>
								<div class="form-group">
									<label class="control-label">邮编</label>
									<div>{$zipcode|default='未填写'}</div>
								</div>
								<!--<div class="form-group">-->
									<!--<label class="control-label" for="input-birthday">生日</label>-->
									<!--<if condition="$birthday gt 0">-->
										<!--<div>{:date('Y-m-d',$birthday)}</div>-->
									<!--<else/>-->
										<!--<div>未填写</div>-->
									<!--</if>-->
								<!--</div>-->
								<!--<div class="form-group">-->
									<!--<label class="control-label" for="input-user_url">个人网址</label>-->
									<!--<div>{$user_url|default='未填写'}</div>-->
								<!--</div>-->
								<!--<div class="form-group">-->
									<!--<label class="control-label" for="input-signature">个性签名</label>-->
									<!--<div>{$signature|default='未填写'}</div>-->
								<!--</div>-->
								<div class="form-group">
									<a href="{:url('user/profile/edit')}" class="btncss">编辑</a>
								</div>
							</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
<!-- /container -->
<include file="public@footer" />

<include file="public@scripts" />
</body>
</html>